
<% if flash[:alert] %>
   <p ><%= flash[:alert] %></p>
<% end %>

<h2> Please Login </h2>

<%= form_tag(:action => :validate) do %>
<fieldset>
<legend>Please Log In</legend>
<div>
<label for="name" >Name:</label>
<%= text_field_tag :name, params[:name] %>
</div>
<div>
<label for="password" >Password:</label>
<%= password_field_tag :password %>
</div>
<div>
<%= submit_tag "Login" %>
</div>
</fieldset>
<% end %>


<%= link_to("Create New Account", :action => :new) %>